package org.mfoyou.agent.common.dao.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HuawuYouzanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public HuawuYouzanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdIsNull() {
            addCriterion("youzan_store_id is null");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdIsNotNull() {
            addCriterion("youzan_store_id is not null");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdEqualTo(String value) {
            addCriterion("youzan_store_id =", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdNotEqualTo(String value) {
            addCriterion("youzan_store_id <>", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdGreaterThan(String value) {
            addCriterion("youzan_store_id >", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdGreaterThanOrEqualTo(String value) {
            addCriterion("youzan_store_id >=", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdLessThan(String value) {
            addCriterion("youzan_store_id <", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdLessThanOrEqualTo(String value) {
            addCriterion("youzan_store_id <=", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdLike(String value) {
            addCriterion("youzan_store_id like", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdNotLike(String value) {
            addCriterion("youzan_store_id not like", value, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdIn(List<String> values) {
            addCriterion("youzan_store_id in", values, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdNotIn(List<String> values) {
            addCriterion("youzan_store_id not in", values, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdBetween(String value1, String value2) {
            addCriterion("youzan_store_id between", value1, value2, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreIdNotBetween(String value1, String value2) {
            addCriterion("youzan_store_id not between", value1, value2, "youzanStoreId");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicIsNull() {
            addCriterion("youzan_store_pic is null");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicIsNotNull() {
            addCriterion("youzan_store_pic is not null");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicEqualTo(String value) {
            addCriterion("youzan_store_pic =", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicNotEqualTo(String value) {
            addCriterion("youzan_store_pic <>", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicGreaterThan(String value) {
            addCriterion("youzan_store_pic >", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicGreaterThanOrEqualTo(String value) {
            addCriterion("youzan_store_pic >=", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicLessThan(String value) {
            addCriterion("youzan_store_pic <", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicLessThanOrEqualTo(String value) {
            addCriterion("youzan_store_pic <=", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicLike(String value) {
            addCriterion("youzan_store_pic like", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicNotLike(String value) {
            addCriterion("youzan_store_pic not like", value, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicIn(List<String> values) {
            addCriterion("youzan_store_pic in", values, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicNotIn(List<String> values) {
            addCriterion("youzan_store_pic not in", values, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicBetween(String value1, String value2) {
            addCriterion("youzan_store_pic between", value1, value2, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStorePicNotBetween(String value1, String value2) {
            addCriterion("youzan_store_pic not between", value1, value2, "youzanStorePic");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameIsNull() {
            addCriterion("youzan_store_name is null");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameIsNotNull() {
            addCriterion("youzan_store_name is not null");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameEqualTo(String value) {
            addCriterion("youzan_store_name =", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameNotEqualTo(String value) {
            addCriterion("youzan_store_name <>", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameGreaterThan(String value) {
            addCriterion("youzan_store_name >", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameGreaterThanOrEqualTo(String value) {
            addCriterion("youzan_store_name >=", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameLessThan(String value) {
            addCriterion("youzan_store_name <", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameLessThanOrEqualTo(String value) {
            addCriterion("youzan_store_name <=", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameLike(String value) {
            addCriterion("youzan_store_name like", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameNotLike(String value) {
            addCriterion("youzan_store_name not like", value, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameIn(List<String> values) {
            addCriterion("youzan_store_name in", values, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameNotIn(List<String> values) {
            addCriterion("youzan_store_name not in", values, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameBetween(String value1, String value2) {
            addCriterion("youzan_store_name between", value1, value2, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andYouzanStoreNameNotBetween(String value1, String value2) {
            addCriterion("youzan_store_name not between", value1, value2, "youzanStoreName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyIsNull() {
            addCriterion("restore_money is null");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyIsNotNull() {
            addCriterion("restore_money is not null");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyEqualTo(Integer value) {
            addCriterion("restore_money =", value, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyNotEqualTo(Integer value) {
            addCriterion("restore_money <>", value, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyGreaterThan(Integer value) {
            addCriterion("restore_money >", value, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("restore_money >=", value, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyLessThan(Integer value) {
            addCriterion("restore_money <", value, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("restore_money <=", value, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyIn(List<Integer> values) {
            addCriterion("restore_money in", values, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyNotIn(List<Integer> values) {
            addCriterion("restore_money not in", values, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyBetween(Integer value1, Integer value2) {
            addCriterion("restore_money between", value1, value2, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andRestoreMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("restore_money not between", value1, value2, "restoreMoney");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNull() {
            addCriterion("agent_id is null");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNotNull() {
            addCriterion("agent_id is not null");
            return (Criteria) this;
        }

        public Criteria andAgentIdEqualTo(Integer value) {
            addCriterion("agent_id =", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotEqualTo(Integer value) {
            addCriterion("agent_id <>", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThan(Integer value) {
            addCriterion("agent_id >", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("agent_id >=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThan(Integer value) {
            addCriterion("agent_id <", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThanOrEqualTo(Integer value) {
            addCriterion("agent_id <=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIn(List<Integer> values) {
            addCriterion("agent_id in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotIn(List<Integer> values) {
            addCriterion("agent_id not in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdBetween(Integer value1, Integer value2) {
            addCriterion("agent_id between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("agent_id not between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andStoreLonIsNull() {
            addCriterion("store_lon is null");
            return (Criteria) this;
        }

        public Criteria andStoreLonIsNotNull() {
            addCriterion("store_lon is not null");
            return (Criteria) this;
        }

        public Criteria andStoreLonEqualTo(Double value) {
            addCriterion("store_lon =", value, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonNotEqualTo(Double value) {
            addCriterion("store_lon <>", value, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonGreaterThan(Double value) {
            addCriterion("store_lon >", value, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonGreaterThanOrEqualTo(Double value) {
            addCriterion("store_lon >=", value, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonLessThan(Double value) {
            addCriterion("store_lon <", value, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonLessThanOrEqualTo(Double value) {
            addCriterion("store_lon <=", value, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonIn(List<Double> values) {
            addCriterion("store_lon in", values, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonNotIn(List<Double> values) {
            addCriterion("store_lon not in", values, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonBetween(Double value1, Double value2) {
            addCriterion("store_lon between", value1, value2, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLonNotBetween(Double value1, Double value2) {
            addCriterion("store_lon not between", value1, value2, "storeLon");
            return (Criteria) this;
        }

        public Criteria andStoreLatIsNull() {
            addCriterion("store_lat is null");
            return (Criteria) this;
        }

        public Criteria andStoreLatIsNotNull() {
            addCriterion("store_lat is not null");
            return (Criteria) this;
        }

        public Criteria andStoreLatEqualTo(Double value) {
            addCriterion("store_lat =", value, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatNotEqualTo(Double value) {
            addCriterion("store_lat <>", value, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatGreaterThan(Double value) {
            addCriterion("store_lat >", value, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatGreaterThanOrEqualTo(Double value) {
            addCriterion("store_lat >=", value, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatLessThan(Double value) {
            addCriterion("store_lat <", value, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatLessThanOrEqualTo(Double value) {
            addCriterion("store_lat <=", value, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatIn(List<Double> values) {
            addCriterion("store_lat in", values, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatNotIn(List<Double> values) {
            addCriterion("store_lat not in", values, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatBetween(Double value1, Double value2) {
            addCriterion("store_lat between", value1, value2, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreLatNotBetween(Double value1, Double value2) {
            addCriterion("store_lat not between", value1, value2, "storeLat");
            return (Criteria) this;
        }

        public Criteria andStoreAddressIsNull() {
            addCriterion("store_address is null");
            return (Criteria) this;
        }

        public Criteria andStoreAddressIsNotNull() {
            addCriterion("store_address is not null");
            return (Criteria) this;
        }

        public Criteria andStoreAddressEqualTo(String value) {
            addCriterion("store_address =", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressNotEqualTo(String value) {
            addCriterion("store_address <>", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressGreaterThan(String value) {
            addCriterion("store_address >", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressGreaterThanOrEqualTo(String value) {
            addCriterion("store_address >=", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressLessThan(String value) {
            addCriterion("store_address <", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressLessThanOrEqualTo(String value) {
            addCriterion("store_address <=", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressLike(String value) {
            addCriterion("store_address like", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressNotLike(String value) {
            addCriterion("store_address not like", value, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressIn(List<String> values) {
            addCriterion("store_address in", values, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressNotIn(List<String> values) {
            addCriterion("store_address not in", values, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressBetween(String value1, String value2) {
            addCriterion("store_address between", value1, value2, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStoreAddressNotBetween(String value1, String value2) {
            addCriterion("store_address not between", value1, value2, "storeAddress");
            return (Criteria) this;
        }

        public Criteria andStorePhoneIsNull() {
            addCriterion("store_phone is null");
            return (Criteria) this;
        }

        public Criteria andStorePhoneIsNotNull() {
            addCriterion("store_phone is not null");
            return (Criteria) this;
        }

        public Criteria andStorePhoneEqualTo(String value) {
            addCriterion("store_phone =", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneNotEqualTo(String value) {
            addCriterion("store_phone <>", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneGreaterThan(String value) {
            addCriterion("store_phone >", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("store_phone >=", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneLessThan(String value) {
            addCriterion("store_phone <", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneLessThanOrEqualTo(String value) {
            addCriterion("store_phone <=", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneLike(String value) {
            addCriterion("store_phone like", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneNotLike(String value) {
            addCriterion("store_phone not like", value, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneIn(List<String> values) {
            addCriterion("store_phone in", values, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneNotIn(List<String> values) {
            addCriterion("store_phone not in", values, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneBetween(String value1, String value2) {
            addCriterion("store_phone between", value1, value2, "storePhone");
            return (Criteria) this;
        }

        public Criteria andStorePhoneNotBetween(String value1, String value2) {
            addCriterion("store_phone not between", value1, value2, "storePhone");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}